home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / AIIe / TN.AIIE.007 < prev    next >
Encoding:
Text File  |  1989-04-21  |  6.2 KB  |  131 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIe
  8. #7:    Interfaces--Serial, Parallel, and IEEE-488
  9.  
  10. Revised by:    Matt Deatherage                                  November 1988
  11. Written by:    Peter Baum                                          April 1984
  12.  
  13. This Technical Note describes the pin configurations of three difference 
  14. interface types offered on the Apple II family of computers.
  15. _____________________________________________________________________________
  16.  
  17.  
  18. Serial
  19.  
  20. Currently, Apple sells a card, called the Super Serial Card (SSC), that can be 
  21. used to connect an Apple printer to an Apple II. The SSC replaces both the 
  22. Communications Card and the Hi-Speed Serial Card.  The SSC supports the 
  23. firmware (Pascal 1.1) protocol except for the optional control and interrupt 
  24. handling routines.
  25.  
  26. The SSC has a 10-pin header on it, but comes with a cable which connects the 
  27. header to a female DB-25 connector.  The SSC can be configured as either a 
  28. modem (DCE) or as a terminal (DTE) using a jumper block (in the latter case 
  29. the jumper block acts as a modem eliminator).  Though the pin configuration of 
  30. the DB-25 connector is well defined, there is no standard use of the handshake 
  31. signals.  Different printers will use the handshake lines for different 
  32. functions.  Table 1 shows the pin configuration for the DB-25 on the SSC.  
  33. Consult your printer manual for more specific information on which signals are 
  34. used.
  35.  
  36.             10-pin                                     Female DB-25
  37.             Header Signal Name                       Terminal  Modem
  38.               1    Frame Ground             (FRMGND)    1        1
  39.               2    Transmit Data            (TxD)       3        2
  40.               3    Receive Data             (RxD)       2        3
  41.               4    Request To Send          (RTS)       8        4
  42.               5    Clear To Send            (CTS)       8        5
  43.               6    Data Set Ready           (DSR)      20        6
  44.               8    Signal Ground            (SGLGND)    7        7
  45.              10    Data Carrier Detect      (DCD)       4,5     *8
  46.               7    Secondary Clear to Send  (SCTS)     19     **19
  47.               9    Data Terminal Ready      (DTR)       6       20
  48.                    *    Only if SW1-7 is closed (on) with SSC.
  49.                    **    Only if SW2-7 is closed (on) with SSC.
  50.  
  51.                  Table 1-Pin Configuration for SSC DB-25 Connector
  52.  
  53.  
  54. Parallel
  55.  
  56. Apple formerly shipped a parallel card, called the Parallel Interface Card 
  57. (PIC), which can be used to connect a parallel printer to an Apple II.  The 
  58. PIC replaced the Parallel Printer Interface Card and the Centronics Interface 
  59. Card.  The PIC does not support the firmware protocol, so Pascal identifies 
  60. the card as a printer card (described in Pascal protocols).
  61.  
  62. Most commonly used printers operate properly if the switches on the PIC are 
  63. set as in Figure 2.
  64.  
  65.                         1   2   3   4   5   6   7
  66.                    on |   |   |   | x | x |   |   |
  67.                   off | x | x | x |   |   | x | x |
  68.  
  69.                   Figure 2-PIC Switch Configuration
  70.  
  71. This setting prepares the parallel interface to transfer data using a 1 
  72. microsecond strobe pulse of negative polarity when sending data, while 
  73. receiving a negative acknowledge signal, with interrupts disabled.
  74.  
  75. The PIC has a 26-pin header, but it comes with a cable which connects the 
  76. header to a female DB-25.  The Parallel Printer Card and the Centronics Card 
  77. used a 20-pin header.  Most parallel printers (90%) use a "microribbon 36" as 
  78. the connector.  The pin configuration varies from printer to printer, but 
  79. Table 2 covers most printers (Apple DMP, Epson).  For other printers, refer to 
  80. page 7 of the Parallel Interface Card Manual.
  81.  
  82.      PIC         Printer
  83.      Function    Function    26-Pin    DB-25    36-Pin    20-Pin
  84.      Ground      Ground         3         2       19         1
  85.      Ground      Ground        22        24       16        20
  86.      Ground      Ground         7         4
  87.      Ground      Ground        14        20
  88.      ACK         Acknowledge    6        16       10         2
  89.      Strobe      Strobe         4        15        1         8
  90.      DO 0        Data 1         9         5        2        10
  91.      DO 1        Data 2        11         6        3        11
  92.      DO 2        Data 3        15         8        4        12
  93.      DO 3        Data 4        18        22        5        13
  94.      DO 4        Data 5        20        23        6        14
  95.      DO 5        Data 6        21        11        7        15
  96.      DO 6        Data 7        23        12        8        16
  97.      DO 7        Data 8 *      25        13        9        17
  98.      DI 3        Fault         24        25       32         6
  99.      DI 4        Busy           2        14       11         7
  100.      DI 5        Paper out     12        19       12         9
  101.      DI 6        Select        16        21       13         8
  102.      DI 7        Enable        10        18       35        19
  103.                  **                       7
  104.      *    This may be assigned a "hard" value for some printers to 
  105.           distinguish between graphics and normal character sets.
  106.     **    Pin 7 is blocked on the female DB-25 connector and omitted on 
  107.           the mail DB-25 connector to prevent the insertion of serial 
  108.           connectors into parallel ports.
  109.  
  110.  
  111. IEEE-488
  112.  
  113. The IEEE-488 bus standard is a well defined eight-bit parallel, byte serial, 
  114. asynchronous data transfer interface.  The standard has been thoroughly 
  115. documented with the most complete description available from the Institute of 
  116. Electrical and Electronic Engineers (IEEE) in New York.  Standard cables are 
  117. manufactured by many companies and usually advertised as either IEEE-488, 
  118. General Purpose Interface Bus (GPIB), or Hewlett-Packard Interface Bus (HPIB) 
  119. cables.
  120.  
  121. IEEE-488 cards do not support Apple firmware protocols, so an assembly 
  122. language driver must be used to access the cards from high level languages 
  123. (see Appendix F of the IEEE-488 Interface User's Guide).
  124.  
  125.  
  126. Further Reference
  127.     o    Apple IIe Technical Reference Manual
  128.     o    Parallel Interface Card Manual
  129.     o    IEEE-488 Card Manual
  130.  
  131.